package com.imooc.town.utils;

import java.util.Random;

/**
 * Created by 10077 on 2018/3/21.
 * desc:
 */
public class KeyUtil {

    public static synchronized String getUniqueKey(){
        Random random = new Random();
        Integer number = random.nextInt(900000)+100000;
        return System.currentTimeMillis()+String.valueOf(number);
    }
}
